@charset "utf-8";
*{
    margin: 0;
    padding: 0;
}
li{
    list-style: none;
}
html{
    height: 100%;
}
body{
    height: 100%;
    font-size: 0.16rem;
    display: flex;
    flex-direction: column;
}
$w:10.8rem;
header{
    position: relative;
    width: $w;
    height:4.23rem ;
    background-color: #1d51c7;
    >.phone{
        width: $w;
        height: 0.7rem;
        >img{
            width: 100%;
            height: 100%;
        }
    }
    >.new{
        width: $w;
        height: 1.3rem;
        display: flex;
        align-items: center;
        >img:nth-of-type(1){
            width: 0.75rem;
            height: 0.95rem;
            margin-left: 0.32rem;
        }
        >img:nth-of-type(2){
            width: 3.75rem;
            height: 0.8rem;
            margin-left: 2.26rem;
        }
        >img:nth-of-type(3){
            width: 0.75rem;
            height: 0.95rem;
            margin-left: 1.57rem;
        }
        >img:nth-of-type(4){
            width: 0.75rem;
            height: 0.95rem;
            margin-left: 0.38rem;
        }
    }
    >.seach{
        width: 10.1rem;
        height: 0.8rem;
        background-color: #f2f1f6;
        border-radius:0.5rem ;
        margin-left: 0.35rem;
        >img{
            float: left;
            width: 0.5rem;
            height: 0.5rem;
            margin-top: 0.15rem;
            margin-left: 0.3rem;
        }
        >input{
            float: right;
            outline: none;
            font-size: 0.24rem;
            width: 9rem;
            height: 0.8rem;
            padding-left: 0.1rem;
            border-radius:0.5rem ;
            border: 0;
            background-color: #f2f1f6;
        }
    }
    >.nav{
        width:8.95rem;
        height: 1.3rem;
        overflow: hidden;
        >ul{
            width:15rem;
            height: 1.3rem;
            display: flex;
            align-items: center;
            >li{
                padding: 0 0.2rem;
                font-size: 0.34rem;
                color: #fff;
            }
         
        }
        
    }
    >img{
        position: absolute;
        right: 0rem;
        bottom: 0.5rem;
    }
}

main{
    width: $w;
    overflow: hidden;
    flex: 1;
    >.wrap{
        width: $w;
        min-height: 101%;
        >.banner{
            width: $w;
            height: 3.75rem;
            img{
                width: 10.12rem;
                height: 100%;
                margin-left: 0.34rem;
                border-radius: 0.2rem;
            }
        }
        >.nav{
            width: $w;
            height: 4.45rem;
            >ul{
                width: $w;
                height: 4.45rem;
                display: flex;
                flex-wrap:wrap ;
                align-items: center;
                >li{
                    width: 20%;
                    text-align: center;
                    >img{
                        width: 1rem;
                        height: 0.96rem;
                    }
                    >p{
                        font-size: 0.3rem;
                        margin-top: 0.2rem;
                    }
                }
            }
        }
        >.images{
            width: $w;
            height:6.5rem ;
            >img{
                width: 100%;
                height: 100%;
            }
        }
    }
}

footer{
    width: $w;
    height: 1.45rem;
    >ul{
        width: $w;
        height: 1.45rem;
        display: flex;
        align-items: center;
        >li{
            width: 20%;
            text-align: center;
            >img{
                width: 0.6rem;
                height: 0.55rem;
            }
            >p{
                margin-top: 0.2rem;
                font-size: 0.24rem;
            }
        }
    }
}